package com.tellhow.monitorserverqh.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.List;

/**
 * @Author:gnplum
 * @Date: 2023/5/8  1:34
 * @Version 1.0
 */
@Configuration
@ConfigurationProperties(prefix = "servers")
@PropertySource("classpath:application.properties")
@Data
public class Servers {
    public List<Infos> infos;
}
